<?php
// +---------------------------------------------------------------------+
// | OneBase    | [ WE CAN DO IT JUST THINK ]                            |
// +---------------------------------------------------------------------+
// | Licensed   | http://www.apache.org/licenses/LICENSE-2.0 )           |
// +---------------------------------------------------------------------+
// | Author     | 王勇程 <laughskydragon@qq.com>                         |
// +---------------------------------------------------------------------+
// | Repository | https://gitee.com/Bigotry/OneBase                      |
// +---------------------------------------------------------------------+

// 安装模块配置文件
defined('INSTALL_APP_PATH') or define('INSTALL_APP_PATH', app()->getRootPath());

// 静态资源配置
$static = [];
$static['__STATIC__'] = '/static';

//配置文件
return [
    // 视图输出字符串内容替换（兼容 TP5）
    'view_replace_str' => $static,

    // TP8 视图配置（模板字符串替换），确保 __STATIC__ 在安装页生效
    'view' => [
        'tpl_replace_string' => $static,
    ],
];
